/*
 * Copyright (C) 2018 Logos Technology Ltd.
 */

package com.logos.common.source.network.entity;

import com.logos.common.base.BaseEntity;

/**
 * @author Young Ken
 */
public class BaseNetEntity<T> extends BaseEntity {

    private int code;
    private String msg;
    private T data;

    public T getResult() {
        return data;
    }

    public void setResult(T result) {
        this.data = result;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return msg;
    }

    public void setMessage(String message) {
        this.msg = message;
    }

}
